package dev.ece.core.engine;

import dev.ece.util.tools.Screen;

/**
 * @author 潜行的青衣
 * @see
 */
public class EngineAdapter implements EngineEvent,EngineListener {

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineEvent#onKeyBoardEvent(long, int, int, int, int)
	 */
	@Override
	public void onKeyBoardEvent(long window, int key, int scancode, int action, int mods) throws Exception {
	}

	/**(non-Javadoc)
	 * @see dev.ece.core.engine.EngineEvent#onJoyStickEvent(int, int)
	 */
	@Override
	public void onJoyStickEvent(int jid, int event) throws Exception {}
	
	@Override
	public void onJoyStickEvent(Joystick joystick, int button, int event) throws Exception {}

	@Override
	public void onJoyStickAxesEvent(Joystick joystick, int axe, float value) throws Exception {}

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineEvent#onMouseButtonEvent(long, int, int, int, dev.ece.core.engine.EngineEvent.Pointer)
	 */
	@Override
	public void onMouseButtonEvent(long window, int button, int action, int mods, Pointer pointer) throws Exception {
	}

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineEvent#onMouseMoveEvent(long, dev.ece.core.engine.EngineEvent.Pointer)
	 */
	@Override
	public void onMouseMoveEvent(long window, Pointer pointer) throws Exception {
	}

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineEvent#onScrollEvent(long, double, double)
	 */
	@Override
	public void onMouseScrollEvent(long window, double xoffset, double yoffset, Pointer pointer) throws Exception {
	}

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineListener#onRender(dev.ece.core.engine.Engine)
	 */
	@Override
	public void onRender(Engine engine) throws Exception {
	}

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineListener#onEngineDestroy()
	 */
	@Override
	public void onEngineDestroy() throws Exception {
	}

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineListener#onCreate(dev.ece.core.engine.Engine)
	 */
	@Override
	public void onCreate(Engine engine) throws Exception {
	}

	/* (non-Javadoc)
	 * @see dev.ece.core.engine.EngineListener#onScreenChange(dev.ece.core.engine.Engine, dev.ece.util.tools.Screen, int, int)
	 */
	@Override
	public void onScreenChange(Engine engine, Screen screen, int width, int height) throws Exception {
	}

	@Override
	public void onLogic(Engine engine) throws Exception {}

}
